package net.hn.hnms.biz.meeting.service;

import net.hn.hnms.biz.meeting.request.MeetingRoomReq;
import net.hn.hnms.biz.meeting.vo.MeetingRoomVo;
import net.hn.hnms.sys.common.core.domain.ResponsePage;
import net.hn.hnms.sys.common.mybatis.core.page.PageQuery;

import java.util.Date;
import java.util.List;

public interface MeetingRoomService {


    ResponsePage<MeetingRoomVo> selectPageList(MeetingRoomReq meetingRoomReq, PageQuery pageQuery);


    void updateDeleteByIds(List<String> idList);

    int insert(MeetingRoomReq meetingRoomReq);

    void updateById(MeetingRoomReq meetingRoomReq);



   List<MeetingRoomVo> selectReservePageList(Date dateTime,String mineCode,String companyCode);

    /**
     * 启用/禁用
     * @param meetingRoomId 数据id
     * @param state  status: 1:启用 0:禁用
     */
    void changeStatus(String meetingRoomId, Integer state);

}
